package top.whysu.rongcloud.api;

import top.whysu.rongcloud.api.dto.ChatroomMembers;
import java.util.List;

public class ChatRoomsResult {
    Integer total;
    public String code;
    List<ChatroomMembers> chatRooms;

    public ChatRoomsResult() {
    }


    public ChatRoomsResult(String code, List<ChatroomMembers> chatRooms) {
        this.code = code;
        this.chatRooms = chatRooms;
    }

    public ChatRoomsResult(Integer total, String code, List<ChatroomMembers> chatRooms) {
        this.total = total;
        this.code = code;
        this.chatRooms = chatRooms;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ChatroomMembers> getChatRooms() {
        return chatRooms;
    }

    public void setChatRooms(List<ChatroomMembers> chatRooms) {
        this.chatRooms = chatRooms;
    }
}
